package modle;

import java.sql.Timestamp;

/**
 * Membership entity. @author MyEclipse Persistence Tools
 */

public class Membership implements java.io.Serializable {

	// Fields

	private MembershipId id;
	private Short clubSecurityLevel;
	private Short ranking;
	private Integer points;
	private String categoryCode1;
	private String categoryCode2;
	private Short tickSuspended;
	private Short tickHidden;
	private String userCr;
	private Timestamp dateCr;
	private String userMod;
	private Timestamp dateMod;

	// Constructors

	/** default constructor */
	public Membership() {
	}

	/** minimal constructor */
	public Membership(MembershipId id, Short clubSecurityLevel,
			Short tickSuspended, Short tickHidden) {
		this.id = id;
		this.clubSecurityLevel = clubSecurityLevel;
		this.tickSuspended = tickSuspended;
		this.tickHidden = tickHidden;
	}

	/** full constructor */
	public Membership(MembershipId id, Short clubSecurityLevel, Short ranking,
			Integer points, String categoryCode1, String categoryCode2,
			Short tickSuspended, Short tickHidden, String userCr,
			Timestamp dateCr, String userMod, Timestamp dateMod) {
		this.id = id;
		this.clubSecurityLevel = clubSecurityLevel;
		this.ranking = ranking;
		this.points = points;
		this.categoryCode1 = categoryCode1;
		this.categoryCode2 = categoryCode2;
		this.tickSuspended = tickSuspended;
		this.tickHidden = tickHidden;
		this.userCr = userCr;
		this.dateCr = dateCr;
		this.userMod = userMod;
		this.dateMod = dateMod;
	}

	// Property accessors

	public MembershipId getId() {
		return this.id;
	}

	public void setId(MembershipId id) {
		this.id = id;
	}

	public Short getClubSecurityLevel() {
		return this.clubSecurityLevel;
	}

	public void setClubSecurityLevel(Short clubSecurityLevel) {
		this.clubSecurityLevel = clubSecurityLevel;
	}

	public Short getRanking() {
		return this.ranking;
	}

	public void setRanking(Short ranking) {
		this.ranking = ranking;
	}

	public Integer getPoints() {
		return this.points;
	}

	public void setPoints(Integer points) {
		this.points = points;
	}

	public String getCategoryCode1() {
		return this.categoryCode1;
	}

	public void setCategoryCode1(String categoryCode1) {
		this.categoryCode1 = categoryCode1;
	}

	public String getCategoryCode2() {
		return this.categoryCode2;
	}

	public void setCategoryCode2(String categoryCode2) {
		this.categoryCode2 = categoryCode2;
	}

	public Short getTickSuspended() {
		return this.tickSuspended;
	}

	public void setTickSuspended(Short tickSuspended) {
		this.tickSuspended = tickSuspended;
	}

	public Short getTickHidden() {
		return this.tickHidden;
	}

	public void setTickHidden(Short tickHidden) {
		this.tickHidden = tickHidden;
	}

	public String getUserCr() {
		return this.userCr;
	}

	public void setUserCr(String userCr) {
		this.userCr = userCr;
	}

	public Timestamp getDateCr() {
		return this.dateCr;
	}

	public void setDateCr(Timestamp dateCr) {
		this.dateCr = dateCr;
	}

	public String getUserMod() {
		return this.userMod;
	}

	public void setUserMod(String userMod) {
		this.userMod = userMod;
	}

	public Timestamp getDateMod() {
		return this.dateMod;
	}

	public void setDateMod(Timestamp dateMod) {
		this.dateMod = dateMod;
	}

}